package com.guogee.pdb.bean;

import java.util.Date;

public class FBGatewayInfo {
	private String id;
	private String sn;
	private Date firstOnlineTime; //第一次注册登录的时间
	private Date lastOnlineTime; //最后一次与服务器保持连接的时间
	private String lastOnlineIp; //网关的ip地址
	private int lastOnlinePort; //网关的端口
	private Date lastHeartTime; //最后的心跳时间
	private boolean online; //是否在线，0：不在线，1：在线
	private String version; //网关的版本号
	private long firstBindTime;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSn() {
		return sn;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	public Date getFirstOnlineTime() {
		return firstOnlineTime;
	}
	public void setFirstOnlineTime(Date firstOnlineTime) {
		this.firstOnlineTime = firstOnlineTime;
	}
	public Date getLastOnlineTime() {
		return lastOnlineTime;
	}
	public void setLastOnlineTime(Date lastOnlineTime) {
		this.lastOnlineTime = lastOnlineTime;
	}
	public String getLastOnlineIp() {
		return lastOnlineIp;
	}
	public void setLastOnlineIp(String lastOnlineIp) {
		this.lastOnlineIp = lastOnlineIp;
	}
	public int getLastOnlinePort() {
		return lastOnlinePort;
	}
	public void setLastOnlinePort(int lastOnlinePort) {
		this.lastOnlinePort = lastOnlinePort;
	}
	public boolean isOnline() {
		return online;
	}
	public void setOnline(boolean online) {
		this.online = online;
	}
	public Date getLastHeartTime() {
		return lastHeartTime;
	}
	public void setLastHeartTime(Date lastHeartTime) {
		this.lastHeartTime = lastHeartTime;
	}
	
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public long getFirstBindTime() {
		return firstBindTime;
	}
	public void setFirstBindTime(long firstBindTime) {
		this.firstBindTime = firstBindTime;
	}
}
